package com.share.rules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.rule.api.domain.FeeRule;
import com.share.rule.api.domain.FeeRuleRequestForm;
import com.share.rule.api.domain.FeeRuleResponseVo;

/**
 * 费用规则Service接口
 *
 * @author YC
 */
public interface IFeeRuleService extends IService<FeeRule> {

    /**
     * 计算订单费用
     *
     * @param feeRuleRequestForm 规则请求表单
     * @return 封装的规则计算响应
     */
    FeeRuleResponseVo calculateOrderFee(FeeRuleRequestForm feeRuleRequestForm);

}
